﻿using Common.CustAttributes;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ZXIMEW.Models.DModels
{
    /// <summary>
    /// 预警日志
    /// </summary>
    [Table("AlarmLogInfos")]
    [PrimaryKey("AlarmLogId", autoIncrement = true)]
    public class AlarmLogInfo
    {
        /// <summary>
        /// 日志编号
        /// </summary>
        public int AlarmLogId { get; set; }

        public int AParaId { get; set; }
        /// <summary>
        /// 预警参数
        /// </summary>
        public string AParaName { get; set; }
        //报警状态
        public string AlarmState { get; set; }
        /// <summary>
        /// 当前值
        /// </summary>
        public float Value { get; set; }
        /// <summary>
        /// 预警描述
        /// </summary>
        public string AlarmNote { get; set; }
        /// <summary>
        /// 报警时间
        /// </summary>
        public DateTime AlarmTime { get; set; }
        /// <summary>
        /// 是否已删除
        /// </summary>
        public int IsDeleted { get; set; }
    }
}
